<?php if($_SESSION[user.online] == "1"){ ?>
<form action="search" method="post">
<input type="text" name="search" class="search" placeholder="Search..." />
<input type="submit" value=" " style="background-color: transparent; border:0px; width: 0px; height:0px;">
</form>
<?php } ?>